import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

/*import 'cghsh/cg_app_routes.dart';
import 'cghsh/common/cg_common_qr_code_scanner.dart';
import 'cghsh/common/cg_common_webView.dart';
import 'cghsh/home/accountRecharge/cg_payMoney_inputMoney.dart';
import 'cghsh/home/accountRecharge/cg_recharge_award_introduce.dart';
import 'cghsh/home/accountRecharge/cg_set_balance_remind.dart';
import 'cghsh/home/autoReport/cg_auto_report.dart';
import 'cghsh/home/autoReport/cg_report_result.dart';
import 'cghsh/home/gasAccount/cg_add_gas_account.dart';
import 'cghsh/home/gasAccount/cg_bind_account_detail.dart';
import 'cghsh/home/gasAccount/cg_bind_default_account.dart';
import 'cghsh/home/gasAccount/cg_bind_default_account_list.dart';
import 'cghsh/home/gasAccount/cg_gas_account_manager.dart';
import 'cghsh/home/gasBill/cg_bill_withholding.dart';
import 'cghsh/home/gasBill/cg_gasFee_bill_list.dart';
import 'cghsh/home/gasBill/cg_gas_payfee_item.dart';
import 'cghsh/home/gasRecharge/cg_gasCode_info.dart';
import 'cghsh/home/gasRecharge/cg_gasCode_price_detail.dart';
import 'cghsh/home/gasRecharge/cg_get_bluetooth_machine_method.dart';
import 'cghsh/home/gasRecharge/cg_iot_task_list.dart';
import 'cghsh/home/gasRecharge/cg_recharge_confirmPay.dart';
import 'cghsh/home/gasRecharge/cg_recharge_connect_bluetooth.dart';
import 'cghsh/home/gasRecharge/cg_recharge_finish.dart';
import 'cghsh/home/gasRecharge/cg_recharge_inputGasCode.dart';
import 'cghsh/home/gasRecharge/cg_recharge_moreMeter_select_cardNo.dart';
import 'cghsh/home/gasRecharge/cg_recharge_nfc.dart';
import 'cghsh/home/gasRecharge/cg_recharge_nfc_strategy.dart';
import 'cghsh/home/gasRecharge/cg_select_recharge_type.dart';
import 'cghsh/home/gasRecharge/cg_users_gasAccount_list.dart';
import 'cghsh/home/heatRecharge/cg_heat_account_list.dart';
import 'cghsh/home/heatRecharge/cg_heat_account_query.dart';
import 'cghsh/home/heatRecharge/cg_heat_add_bind_account.dart';
import 'cghsh/home/heatRecharge/cg_heat_bill_page.dart';
import 'cghsh/home/heatRecharge/cg_heat_home_page.dart';
import 'cghsh/home/heatRecharge/cg_heat_install_page.dart';
import 'cghsh/home/heatRecharge/cg_heat_install_result_page.dart';
import 'cghsh/home/heatRecharge/cg_heat_pay_confirm.dart';
import 'cghsh/home/heatRecharge/cg_heat_payment_detail.dart';
import 'cghsh/home/heatRecharge/cg_pay_result_page.dart';
import 'cghsh/home/orderList/cg_gas_order_query.dart';
import 'cghsh/home/orderList/cg_order_detail.dart';
import 'cghsh/home/orderList/cg_order_historyList.dart';
import 'cghsh/home/phoneRecharge/cg_phone_payment.dart';
import 'cghsh/home/phoneRecharge/cg_phone_recharge.dart';
import 'cghsh/home/service/cg_qualification_info_page.dart';
import 'cghsh/home/service/cg_qualification_list_page.dart';
import 'cghsh/home/service/cg_qualification_qr_page.dart';
import 'cghsh/home/service/cg_service_list_page.dart';
import 'cghsh/home/service/cg_service_page.dart';
import 'cghsh/home/service/cg_gas_contract_page.dart';
import 'cghsh/home/service/cg_pdf_preview_page.dart';
import 'cghsh/richPage/cg_help_info_page.dart';
import 'cghsh/richPage/cg_help_rich_page.dart';*/

import 'package:get/get.dart';
import 'package:sp_util/sp_util.dart';
import 'package:yp/middlewares/auth_middleware.dart';
import 'package:yp/pages/address_list/view.dart'
    deferred as address_list_view_def;
import 'package:yp/pages/agreement/view.dart' deferred as agreementview_def;
import 'package:yp/pages/award/award_view.dart'
    deferred as award_award_view_def;
import 'package:yp/pages/discover/discover.dart';
import 'package:yp/pages/discover/event_detail.dart'
    deferred as discover_event_detail_def;
import 'package:yp/pages/collection/collection.dart'
    deferred as collection_collection_def;
import 'package:yp/pages/invite_koc/view.dart' deferred as invite_koc_view_def;
import 'package:yp/pages/jfsubsidiary/jfsubsidiary_view.dart'
    deferred as jfsubsidiary_view_def;
import 'package:yp/pages/koc/apply_expert.dart'
    deferred as koc_apply_expert_def;
import 'package:yp/pages/koc/apply_expert_success.dart'
    deferred as koc_apply_expert_success_def;
import 'package:yp/pages/koc/expert_under_review.dart'
    deferred as koc_expert_under_review_def;
import 'package:yp/pages/login/view.dart';
import 'package:yp/pages/logistics/view.dart' deferred as logistics_view_def;
import 'package:yp/pages/main/view.dart';
import 'package:yp/pages/mall_app/account_safe_modfiy_phone_success/view.dart'
    deferred as account_safe_modfiy_phone_success_view_def;
import 'package:yp/pages/mall_app/account_safe_modify_phone.dart/page.dart'
    deferred as account_safe_modify_phone_dart_page_def;
import 'package:yp/pages/mall_app/account_safe_modify_phone_sure/view.dart'
    deferred as account_safe_modify_phone_sure_view_def;
import 'package:yp/pages/mall_app/account_safe_pay_pwd.dart/page.dart'
    deferred as account_safe_pay_pwd_dart_page_def;
import 'package:yp/pages/mall_app/account_safe_phone/page.dart'
    deferred as account_safe_phone_page_def;
import 'package:yp/pages/mall_app/commodity_search/shop_search/view.dart'
    deferred as shop_search_view_def;
import 'package:yp/pages/mall_app/draw_bill/view.dart'
    deferred as draw_bill_view_def;
import 'package:yp/pages/mall_app/draw_bill_detail/view.dart'
    deferred as draw_bill_detail_view_def;
import 'package:yp/pages/mall_app/evaluate_product/view.dart'
    deferred as evaluate_product_view_def;
import 'package:yp/pages/mall_app/font_money_sale/font_end_order/view.dart'
    deferred as font_end_order_view_def;
import 'package:yp/pages/mall_app/font_money_sale/font_sale_detail/view.dart'
    deferred as font_sale_detail_view_def;
import 'package:yp/pages/mall_app/font_money_sale/font_sale_order/view.dart'
    deferred as font_sale_order_view_def;
import 'package:yp/pages/mall_app/font_money_sale/view.dart'
    deferred as font_money_sale_view_def;
import 'package:yp/pages/mall_app/group_detail/group_detail_view.dart'
    deferred as group_detail_group_detail_view_def;
import 'package:yp/pages/mall_app/hall_map/view.dart'
    deferred as hall_map_view_def;
import 'package:yp/pages/mall_app/help/view.dart' deferred as help_view_def;
import 'package:yp/pages/mall_app/invalid_account/account_invalid_1/view.dart'
    deferred as account_invalid_1_view_def;
import 'package:yp/pages/mall_app/local_life/view.dart';
import 'package:yp/pages/mall_app/mall_login/view.dart';
import 'package:yp/pages/mall_app/my/view.dart'; // 延迟加载的话会报错，待处理 deferred as mall_app_my_view_def;
import 'package:yp/pages/mall_app/pre_sale/pre_sale_order/view.dart'
    deferred as pre_sale_order_view_def;
import 'package:yp/pages/mall_app/pre_sale/view.dart';
import 'package:yp/pages/mall_app/set_pay_pwd/page.dart'
    deferred as set_pay_pwd_page_def;
import 'package:yp/pages/mall_app/surplus_market/sm_details/view.dart'
    deferred as sm_details_view_def;
import 'package:yp/pages/mall_app/surplus_market/sm_details/jietijia.dart'
    deferred as sm_details_jietijia_def;
import 'package:yp/pages/mall_app/surplus_market/surplus_buy/view.dart'
    deferred as surplus_buy_view_def;
import 'package:yp/pages/mall_app/surplus_market/view.dart'
    deferred as surplus_market_view_def;
import 'package:yp/pages/mall_app/turntable/view.dart'
    deferred as turntable_view_def;
import 'package:yp/pages/mall_app/turntable_aword/view.dart'
    deferred as turntable_aword_view_def;
import 'package:yp/pages/mall_app/user_bind/view.dart'
    deferred as user_bind_view_def;
import 'package:yp/pages/mall_app/user_bind/view.dart';
import 'package:yp/pages/marketing/activity_rule.dart'
    deferred as marketing_activity_rule_def;
import 'package:yp/pages/marketing/coinDetail.dart'
    deferred as marketing_coinDetail_def;
import 'package:yp/pages/marketing/collage.dart';
import 'package:yp/pages/marketing/collage/collage_view.dart'; //分享链接，不可延迟加载 deferred as collage_collage_view_def ;
import 'package:yp/pages/marketing/collect_coupons.dart'
    deferred as marketing_collect_coupons_def;
import 'package:yp/pages/marketing/collect_coupons_center.dart'
    deferred as marketing_collect_coupons_center_def;
import 'package:yp/pages/marketing/comment_success.dart'
    deferred as marketing_comment_success_def;
import 'package:yp/pages/marketing/consume_gift.dart'
    deferred as marketing_consume_gift_def;
import 'package:yp/pages/marketing/big_turntable.dart'
    deferred as marketing_big_turntable_def;
import 'package:yp/pages/marketing/help_lottery.dart'
    deferred as marketing_help_lottery_def;
import 'package:yp/pages/marketing/integral_mall.dart'
    deferred as marketing_integral_mall_def;
import 'package:yp/pages/marketing/invite_friend.dart'
    deferred as marketing_invite_friend_def;
import 'package:yp/pages/marketing/join_group.dart';
import 'package:yp/pages/marketing/marketing.dart'
    deferred as marketing_marketing_def;
import 'package:yp/pages/marketing/my_share.dart'
    deferred as marketing_my_share_def;
import 'package:yp/pages/marketing/random_amount.dart'; // 裂变 分享链接，不可延迟加载
import 'package:yp/pages/marketing/rounda_bout.dart'
    deferred as marketing_rounda_bout_def;
import 'package:yp/pages/marketing/sales_rankings.dart'
    deferred as marketing_sales_rankings_def;
import 'package:yp/pages/my_invite/view.dart';
import 'package:yp/pages/order/pre_sale_order/pre_sale_view.dart'
    deferred as pre_sale_order_pre_sale_view_def;
import 'package:yp/pages/my_subscription/logic.dart';
import 'package:yp/pages/order_goodlist/view.dart'
    deferred as order_goodlist_view_def;
import 'package:yp/pages/refund_progress/view.dart'
    deferred as refund_progress_view_def;
import 'package:yp/pages/sec_kill/view.dart' deferred as sec_kill_view_def;
import 'package:yp/pages/marketing/share_gift.dart'
    deferred as marketing_share_gift_def;
import 'package:yp/pages/marketing/vip_task.dart'
    deferred as marketing_vip_task_def;
import 'package:yp/pages/order/after_market.dart'
    deferred as order_after_market_def;
import 'package:yp/pages/order/after_market_detail.dart'
    deferred as order_after_market_detail_def;
import 'package:yp/pages/order/apply_after_market.dart'
    deferred as order_apply_after_market_def;

import 'package:yp/pages/order/order.dart';
import 'package:yp/pages/order/order/order_view.dart'
    deferred as order_order_view_def;
import 'package:yp/pages/order/order_detail.dart'
    deferred as order_order_detail_def;
import 'package:yp/pages/order/refund_progress.dart';
import 'package:yp/pages/order_groupsettlement/view.dart'
    deferred as order_groupsettlement_view_def;
import 'package:yp/pages/order_settlement/view.dart'
    deferred as order_settlement_view_def;
import 'package:yp/pages/trolley/address_list.dart';
import 'package:yp/pages/trolley/edit_address.dart'
    deferred as trolley_edit_address_def;
import 'package:yp/pages/trolley/go_collect/view.dart'
    deferred as go_collect_view_def;
import 'package:yp/pages/trolley/go_exchange/view.dart'
    deferred as go_exchange_view_def;
import 'package:yp/pages/trolley/pay_success.dart'
    deferred as trolley_pay_success_def;
import 'package:yp/pages/trolley/settle_accounts.dart';
import 'package:yp/pages/trolley/settle_list.dart'
    deferred as trolley_settle_list_def;
import 'package:yp/pages/trolley/trolley.dart';
import 'package:yp/pages/trolley/trolley_view.dart'
    deferred as trolley_trolley_view_def;
import 'package:yp/pages/tuanorder/order_view.dart'
    deferred as tuanorder_order_view_def;

import 'pages/address_create/view.dart' deferred as address_create_view_def;
import 'pages/address_update/view.dart' deferred as address_update_view_def;
import 'pages/aftersale_apply/view.dart' deferred as aftersale_apply_view_def;
import 'pages/apply_detail/view.dart' deferred as apply_detail_view_def;
import 'pages/apply_success/view.dart' deferred as apply_success_view_def;
import 'pages/mall_app/about/view.dart' deferred as about_view_def;
import 'pages/mall_app/account_safe/view.dart'
    deferred as account_safe_view_def;
import 'pages/mall_app/add_invoice_head/view.dart'
    deferred as add_invoice_head_view_def;
import 'pages/mall_app/all_evaluation/view.dart'
    deferred as all_evaluation_view_def;
import 'pages/mall_app/all_orders/view.dart' deferred as all_orders_view_def;
import 'pages/mall_app/apply_koc/view.dart' deferred as apply_koc_view_def;
import 'pages/mall_app/apply_koc_result/view.dart'
    deferred as apply_koc_result_view_def;
import 'pages/mall_app/bind_welfare_card/view.dart'
    deferred as bind_welfare_card_view_def;
import 'pages/mall_app/business_hall_details/view.dart'
    deferred as business_hall_details_view_def;
import 'pages/mall_app/classification/view.dart'
    deferred as classification_view_def;
import 'pages/mall_app/collect_coupons_centre/view.dart'
    deferred as collect_coupons_centre_view_def;
import 'pages/mall_app/commodity_details/view.dart'
    deferred as commodity_details_view_def;
import 'pages/mall_app/commodity_keyword_search/view.dart'
    deferred as commodity_keyword_search_view_def;
import 'pages/mall_app/coupon_goods_list/view.dart'
    deferred as coupon_goods_list_view_def;
import 'pages/mall_app/commodity_search/view.dart'
    deferred as commodity_search_view_def;
import 'pages/mall_app/commodity_search_list/view.dart'
    deferred as commodity_search_list_view_def;
import 'pages/mall_app/dan_ge_chu_ping/view.dart'
    deferred as dan_ge_chu_ping_view_def;
import 'pages/mall_app/decoration_activities/view.dart'
    deferred as decoration_activities_view_def;
import 'pages/mall_app/draw_bill/logic.dart';
import 'pages/mall_app/evaluation_success/view.dart'
    deferred as evaluation_success_view_def;
import 'pages/mall_app/feedback_history/view.dart'
    deferred as feedback_history_view_def;
import 'pages/mall_app/follow_up_evaluation/view.dart'
    deferred as follow_up_evaluation_view_def;
import 'pages/mall_app/get_points_method/view.dart'
    deferred as get_points_method_view_def;
import 'pages/mall_app/gift_card/view.dart' deferred as gift_card_view_def;
import 'pages/mall_app/gift_card_binding/view.dart'
    deferred as gift_card_binding_view_def;
import 'pages/mall_app/gift_card_consumption_record/view.dart'
    deferred as gift_card_consumption_record_view_def;
import 'pages/mall_app/goods_comment/view.dart'
    deferred as goods_comment_view_def;
import 'pages/mall_app/goods_detail/view.dart';
import 'pages/mall_app/help_detail/view.dart' deferred as help_detail_view_def;
import 'pages/mall_app/invalid_account/account_invalid_2/view.dart'
    deferred as account_invalid_2_view_def;
import 'pages/mall_app/invoice_details/view.dart'
    deferred as invoice_details_view_def;
import 'pages/mall_app/invoice_header_management/view.dart'
    deferred as invoice_header_management_view_def;
import 'pages/mall_app/issue_invoice/view.dart'
    deferred as issue_invoice_view_def;
import 'pages/mall_app/local_life/view.dart' deferred as local_life_view_def;
import 'pages/mall_app/mall_login/view.dart' deferred as mall_login_view_def;
import 'pages/mall_app/mall_verification_code_login/view.dart'
    deferred as mall_verification_code_login_view_def;
import 'pages/mall_app/member_information/view.dart'
    deferred as member_information_view_def;
import 'pages/mall_app/membership_card_home_page/view.dart'
    deferred as membership_card_home_page_view_def;
import 'pages/mall_app/membership_interests/view.dart'
    deferred as membership_interests_view_def;
import 'pages/mall_app/my_coupon/view.dart' deferred as my_coupon_view_def;
import 'pages/mall_app/my_gas/view.dart' deferred as my_gas_view_def;
import 'pages/mall_app/my_points/view.dart' deferred as my_points_view_def;
import 'pages/mall_app/my_reward/view.dart' deferred as my_reward_view_def;
import 'pages/mall_app/my_traffic_users/view.dart'
    deferred as my_traffic_users_view_def;
import 'pages/mall_app/my_wallet/my_wallet_use_help/my_wallet_use_help.dart'
    deferred as my_wallet_use_help_my_wallet_use_help_def;
import 'pages/mall_app/my_wallet/view.dart' deferred as my_wallet_view_def;
import 'pages/mall_app/my_welfare_card_list/view.dart'
    deferred as my_welfare_card_list_view_def;
import 'pages/mall_app/nearby_business_hall/view.dart'
    deferred as nearby_business_hall_view_def;
import 'pages/mall_app/opinion_feedback/view.dart'
    deferred as opinion_feedback_view_def;
import 'pages/mall_app/opinion_feedback_details/view.dart'
    deferred as opinion_feedback_details_view_def;
import 'pages/mall_app/ping_jia_shai_dan/view.dart'
    deferred as ping_jia_shai_dan_view_def;
import 'pages/mall_app/ping_jia_shai_dan_details/view.dart'
    deferred as ping_jia_shai_dan_details_view_def;
import 'pages/mall_app/reset_password/view.dart'
    deferred as reset_password_view_def;
import 'pages/mall_app/select_invoice_head/view.dart'
    deferred as select_invoice_head_view_def;
import 'pages/mall_app/select_shipping_address/view.dart'
    deferred as select_shipping_address_view_def;
import 'pages/mall_app/set_up/view.dart' deferred as set_up_view_def;
import 'pages/mall_app/sign_in/view.dart' deferred as sign_in_view_def;
import 'pages/mall_app/view_comments/view.dart'
    deferred as view_comments_view_def;
import 'pages/material_create/view.dart' deferred as material_create_view_def;
import 'pages/my_collect/logic.dart';
import 'pages/my_collect/view.dart' deferred as my_collect_view_def;
import 'pages/my_subscription/view.dart' deferred as my_subscription_view_def;
import 'pages/order/gongdan/view.dart' deferred as gongdan_view_def;
import 'pages/order/gongdans/view.dart' deferred as gongdans_view_def;
import 'pages/order_complete/view.dart' deferred as order_complete_view_def;
import 'pages/order_deposit/view.dart' deferred as order_deposit_view_def;
import 'pages/order_detial/view.dart' deferred as order_detial_view_def;
import 'pages/order_list/view.dart' deferred as order_list_view_def;
import 'pages/order_modify_address/view.dart'
    deferred as order_modify_address_view_def;
import 'pages/order_payment/view.dart' deferred as order_payment_view_def;
import 'pages/order_settlements/view.dart'
    deferred as order_settlements_view_def;
import 'pages/search_member/view.dart' deferred as search_member_view_def;
import 'pages/splash/view.dart';
import 'pages/user_create/view.dart' deferred as user_create_view_def;
import 'pages/webview/webview_page.dart' deferred as webview_webview_page_def;

class RouteConfig {
  static final String main = "/";

  //我的
  static final String my = "/my";

  /// 登录
  // static final String login = "/login";

  /// 购物车
  static final String trolley = "/trolley";

  /// 结算
  static final String settleAccounts = '/settle_accounts';

  /// 团结算
  static final String groupSettleAccounts = '/group_SettleAccounts';

  /// 结算商品列表
  static final String settleList = '/settle_list';

  /// 支付成功
  static final String paySuccess = '/pay_success';

  /// 合集
  static final String collection = "/collection";

  /// 订单
  static final String order = "/order";

  /// 订单详情
  static final String orderDetail = '/order_detail';

  /// 售后/退款
  static final String afterMarket = '/after_market';

  /// 申请售后
  static final String applyAfterMarket = '/apply_after_market';

  /// 售后详情
  static final String afterMarketDetail = '/after_market_detail';

  /// 退款进度
  static final String refundProgress = '/refund_progress';

  /// 物流追踪
  static final String logisticsTracking = '/logistics_tracking';

  /// 营销活动
  static final String marketing = "/marketing";

  /// 选择收货地址
  static final String addressList = "/address_list";

  /// 新增/编辑地址
  static final String editAddress = '/edit_address';

  /// 活动规则
  static final String activityRule = '/activity_rule';

  /// 消费有礼
  static final String consumeGift = '/consume_gift';

  ///评价成功
  static final String commentSuccess = '/comment_success';

  /// 我的分享
  static final String myShare = '/myShare';

  /// 分享有礼
  static final String shareGift = '/shareGift';

  /// 助力摇奖
  static final String helpLottery = '/help_lottery';

  // 大转盘 助力详情
  static final String bigTurntable = '/big_turntable';

  /// 大转盘
  static final String roundAbout = '/round_about';

  /// 拼团热销榜
  static final String salesRankings = '/sales_rankings';

  /// 积分商城
  static final String integralMall = '/integral_mall';

  /// 拼手气红包
  static final String randomAmount = '/random_amount';

  /// 会员任务
  static final String vipTask = '/vip_task';

  /// 领取优惠券
  static final String collectCoupons = '/collect_coupons';

  /// 秒杀活动
  static final String seckillHome = '/seckill_home';

  /// 领券中心
  static final String collectCouponsCenter = '/collect_coupons_center';

  /// 邀请好友有礼
  static final String inviteFriend = '/invite_friend';

  /// 参团详情
  static final String joinGroup = '/join_group';

  /// 拼团首页UI
  static final String collage = '/collage';

  /// 申请成为惠达人
  static final String applyExpert = '/apply_expert';

  /// 慧达人审核中
  static final String expertUnderReview = '/expert_under_review';

  /// 惠达人申请成功
  static final String applyExpertSuccess = '/apply_expert_success';

  /// 发现
  static final String discover = '/discover';

  /// 活动详情
  static final String eventDetail = '/event_detail';

  static final String webview = "/webview";

  //单品详情结算
  static final String orderSettlements = "/orderSettlements";

  //订单完成
  static final String orderComplete = "/orderComplete";

  //代客下单列表
  static final String orderList = "/orderList";

  //物流信息
  static final String logistics = "/logistics";
  static final String coinDetail = "/CoinDetail";

  //订单详情
  static final String orderDetial = "/orderDetial";
  static final String orderDeposit = "/orderDeposit";
  static final String orderPayment = "/orderPayment";
  static final String aftersaleApply = "/aftersaleApply";
  static final String applySuccess = "/applySuccess";
  static final String searchMember = "/searchMember";
  static final String userCreate = "/userCreate";

  //新增地址
  static final String addressCreate = "/addressCreate";
  static final String addressUpdate = "/addressUpdate";

  // 关于我们
  static final String about = "/about";

  // 商城APP
  // static final String mainApp = '/main_app';
  static final String classification = "/classification";
  static final String materialCreate = "/materialCreate";
  static final String jfSubsidiaryPage = "/JfsubsidiaryPage";
  static final String addInvoiceHead = '/add_invoice_head'; // 添加发票抬头
  static final String evaluateProduct = '/evaluate_product'; // 评价商品
  static final String allEvaluation = '/all_evaluation'; // 全部评价
  static final String danGeChuPing = '/dan_ge_chu_ping'; // 单个初评
  static final String evaluationSuccess = '/evaluation_success'; // 评价成功
  static final String viewComments = '/view_comments'; // 查看评价
  static final String pingJiaShaiDan = '/ping_jia_shai_dan'; // 评价晒单
  static final String pingJiaShaiDanDetails =
      '/ping_jia_shai_dan_details'; // 评价晒单详情
  static final String mallLogin = '/mall_login'; // （新）登录
  static final String applykoc = '/apply_become_huidaren'; //申请koc
  static final String allOrders = '/all_orders'; // 全部订单
  static final String applykocResult = '/apply_koc_result'; //申请koc结果
  static final String bindWelfareCard = '/bind_welfare_card'; // 绑定福利卡// 福利卡消费记录
  static final String businessHallDetails =
      '/business_hall_details'; // 营业厅详情(店铺详情)
  static final String commoditySearch = '/commodity_search'; // 商品搜索
  static final String commoditySearchList = '/commodity_search_list'; // 商品搜索列表
  static final String goodsDetail = '/goods_detail'; //商品详情
  static final String collectCouponsCentre = '/collect_coupons_centre'; // 领券中心
  static final String commodityDetails = '/commodity_details'; // 商品详情
  static final String commodityKeywordSearch =
      '/commodity_keyword_search'; // 我的积分
  static final String couponGoodsList = '/coupon_goods_list'; // 优惠券关联商品列表
  static final String decorationActivities = '/decoration_activities'; // 装修活动
  static final String feedbackHistory = '/feedback_history'; // 反馈历史
  static final String followUpEvaluation = '/follow_up_evaluation'; // 发表追评
  static final String getPointsMethod = '/get_points_method'; // 我的积分
  static final String giftCard = '/gift_card'; // 礼品卡
  static final String giftCardBinding = '/gift_card_binding'; // 绑定礼品卡
  static final String giftCardConsumptionRecord =
      '/gift_card_consumption_record'; // 账单
  static final String goodsCommentList = '/goods_comment_list';
  static final String applyDetail = "/applyDetail";
  static final String orderModifyAddress = '/order_modify_address'; // 评价商品
  static final String invoiceDetails = '/invoice_details'; // 发票详情
  static final String invoiceHeaderManagement =
      '/invoice_header_management'; // 发票抬头管理
  static final String issueInvoice = '/issue_invoice'; // 开具发票
  static final String selectInvoiceHead = '/select_invoice_head'; // 选择发票抬头
  static final String selectShippingAddress =
      '/select_shipping_address'; // 选择收货地址
  static final String mallVerificationCodeLogin =
      '/mall_verification_code_login'; // 验证码登录
  static final String resetPassword = '/reset_password'; // 重置密码
  static final String memberInformation = '/member_information'; // 会员信息
  static final String membershipInterests = '/membership_interests'; // 会员权益
  static final String membershipCardHomePage =
      '/membership_card_home_page'; // 会员卡主页
  static final String myGas = '/my_gas'; // 我的燃气
  static final String myCoupon = '/my_coupon'; // 我的优惠券
  static final String myPoints = '/my_points'; // 我的积分
  static final String myWallet = '/my_wallet'; // 我的钱包
  static final String myWallerUseHelp = '/my_waller_use_help'; // 钱包使用帮助
  static final String setUp = '/set_up'; // 设置
  static final String signIn = '/sign_in'; // 签到
  static final String opinionFeedback = '/opinion_feedback'; // 意见反馈
  static final String opinionFeedbackDetails =
      '/opinion_feedback_details'; // 意见反馈详情
  static final String myTrafficUsers = '/my_traffic_users'; // 我的流量用户
  static final String myReward = '/my_reward'; // 我的奖励
  static final String myWelfareCardList = '/my_welfare_card_list'; // 我的福利卡列表
  static final String nearbyBusinessHall = '/nearby_business_hall'; // 附近营业厅
  static final String GroupDetailPage = '/Group_detailPage'; // 附近营业厅
  static final String tuanOrder = '/tuanOrder'; // 拼团详情
  static final String AwardPages = '/AwardPage';
  static final String preSaleOrder = '/preSaleOrder';
  static final String localLife = '/local_life'; // 本地生活
  static final String drawBillPage = '/drawBillPage'; // 开发票
  static final String drawBillPageDetail = '/drawBillPageDetail'; // 开发票

  static final String myCollectPage = '/myCollectPage'; // 我的收藏
  static final String mySubscriptionPage = '/mySubscriptionPage'; // 我的订阅
  static final String helpPage = '/help';
  static final String accountSafe = '/account_safe'; //账号安全
  static final String modifyPhone = '/modify_phone'; //修改手机号
  static final String verifyPhone = '/verify_phone'; //手机号验证
  static final String modifyPayPwd = '/modify_pay_pwd'; //修改支付密码
  static final String modifyPhoneSure = '/modify_phone_sure'; //确定更换手机号
  static final String modifyPhoneSuccess = '/modify_phone_success'; //更换手机号成功
  static final String setPayPwd = '/set_pay_pwd'; //更换手机号成功
  static final String helpDetail = '/help_detail'; //帮助中心详情
  static final String goExchange = '/go_exchange'; // 去换购
  static final String goCollect = '/go_collect'; // 去凑单
  static final String turntable = '/turntable'; //大转盘
  static final String turntableAward = '/turntable_award'; //大转盘 奖励
  static final String orderGoodlist = "/orderGoodlist";
  static final String hallMap = '/hall_map'; //地图
  static final String preSaleActive = '/preSaleActive'; // 预售活动
  static final String userBind = '/user_bind'; //用户绑定
  static final String accountInvalid1 = '/accountInvalid1'; //地图
  static final String accountInvalid2 = '/accountInvalid2'; //地图
  static final String surplusMarketPage = '/surplusMarketPage'; // 超级团
  static final String surplusMarketDetails = '/surplusMarketDetails'; // 超级团详情
  static final String jietijia = '/jietijia'; // 阶梯价详情
  static final String sMSettlementPage = '/sMSettlementPage'; // 超级团详情
  static final String fontMoneySalePage = '/fontMoneySalePage'; // 定金预售
  static final String fontMoneySaleDetail = '/fontMoneySaleDetail'; // 定金预售详情
  static final String preSaleActiveOrder = '/preSaleActiveOrder'; // 预售活动支付页面
  static final String frontSaleOrder = '/frontSaleOrder'; // 定金预售支付页面
  static final String endSaleOrder = '/endSaleOrder'; // 定金预售尾款支付页面
  static final String agreement = '/agreement'; // 协议
  static final String gongdan = '/gongdan'; // 工单详情
  static final String gongdans = '/gongdans'; // 服务进度
  static final String shopSearch = '/shopSearch'; // 店铺搜索
  static final String splash = '/splash'; // 店铺搜索
  static final String myInvite = '/myInvite'; // 店铺搜索
  static final String inviteKocPage = '/inviteKocPage'; // 店铺搜索

  ///别名映射页面
  static final List<GetPage> getPages = [
    //我的
    GetPage(
        name: my,
        page: () =>
            MyPage(), // FutureBuilder(future: my_view_def.loadLibrary() , builder:(snapshot, context)=> my_view_def.MyPage() ), //)   MyPage(),
        middlewares: [AuthMiddleware(priority: 1)]),

    ///物流
    GetPage(
        name: logistics,
        page: () => FutureBuilder(
            future: logistics_view_def.loadLibrary(),
            builder: (snapshot, context) => logistics_view_def
                .LogisticsTracking())), //   LogisticsTracking()),
    // GetPage(name: login, page: () => LoginPage()),
    GetPage(name: main, page: () => MainPage()), //首页，不可延迟加载
    GetPage(
        name: marketing,
        page: () => FutureBuilder(
            future: marketing_marketing_def.loadLibrary(),
            builder: (snapshot, context) =>
                marketing_marketing_def.Marketing())), //   Marketing()),
    GetPage(
        name: AwardPages,
        page: () => FutureBuilder(
            future: award_award_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                award_award_view_def.AwardPage())), // AwardPage()),
    GetPage(
        name: order,
        page: () => FutureBuilder(
            future: order_order_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                order_order_view_def.OrderPage())), //  OrderPage()),
    GetPage(
        name: tuanOrder,
        page: () => FutureBuilder(
            future: tuanorder_order_view_def.loadLibrary(),
            builder: (snapshot, context) => tuanorder_order_view_def
                .TuanOrderPage())), //  TuanOrderPage()),
    GetPage(
        name: jfSubsidiaryPage,
        page: () => FutureBuilder(
            future: jfsubsidiary_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                jfsubsidiary_view_def.JfsubsidiaryPage())),
    GetPage(
        name: orderDetail,
        page: () => FutureBuilder(
            future: order_order_detail_def.loadLibrary(),
            builder: (snapshot, context) =>
                order_order_detail_def.OrderDetail())), //  OrderDetail()),
    GetPage(
        name: afterMarket,
        page: () => FutureBuilder(
            future: order_after_market_def.loadLibrary(),
            builder: (snapshot, context) =>
                order_after_market_def.AfterMarket())), //  AfterMarket()),
    GetPage(
        name: applyAfterMarket,
        page: () => FutureBuilder(
            future: order_apply_after_market_def.loadLibrary(),
            builder: (snapshot, context) => order_apply_after_market_def
                .ApplyAfterMarket())), //  ApplyAfterMarket()),
    GetPage(
        name: afterMarketDetail,
        page: () => FutureBuilder(
            future: order_after_market_detail_def.loadLibrary(),
            builder: (snapshot, context) => order_after_market_detail_def
                .AfterMarketDetail())), //  AfterMarketDetail()),
    GetPage(
        name: refundProgress,
        page: () => FutureBuilder(
            future: refund_progress_view_def.loadLibrary(),
            builder: (snapshot, context) => refund_progress_view_def
                .RefundProgressPage())), //  RefundProgressPage()),
    // GetPage(name: logisticsTracking, page: () => LogisticsTracking()),
    GetPage(
        name: collection,
        page: () => FutureBuilder(
            future: collection_collection_def.loadLibrary(),
            builder: (snapshot, context) =>
                collection_collection_def.Collection())), //   Collection()),
    GetPage(
        name: trolley,
        page: () => FutureBuilder(
            future: trolley_trolley_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                trolley_trolley_view_def.TrolleyPage())), //  TrolleyPage()),
    // GetPage(name: settleAccounts, page: () => SettleAccounts()),
    GetPage(
        name: settleAccounts,
        page: () => FutureBuilder(
            future: order_settlement_view_def.loadLibrary(),
            builder: (snapshot, context) => order_settlement_view_def
                .OrderSettlementPage())), //  OrderSettlementPage()),
    GetPage(
        name: groupSettleAccounts,
        page: () => FutureBuilder(
            future: order_groupsettlement_view_def.loadLibrary(),
            builder: (snapshot, context) => order_groupsettlement_view_def
                .OrderGroupSettlementPage())), //  OrderGroupSettlementPage()),
    GetPage(
        name: settleList,
        page: () => FutureBuilder(
            future: trolley_settle_list_def.loadLibrary(),
            builder: (snapshot, context) =>
                trolley_settle_list_def.SettleList())), //  SettleList()),
    GetPage(
        name: paySuccess,
        page: () => FutureBuilder(
            future: trolley_pay_success_def.loadLibrary(),
            builder: (snapshot, context) =>
                trolley_pay_success_def.PaySuccess())), //   PaySuccess()),
    GetPage(
        name: addressList,
        page: () => FutureBuilder(
            future: address_list_view_def.loadLibrary(),
            builder: (snapshot, context) => address_list_view_def
                .AddressListPage())), //  AddressListPage()),
    GetPage(
        name: editAddress,
        page: () => FutureBuilder(
            future: trolley_edit_address_def.loadLibrary(),
            builder: (snapshot, context) =>
                trolley_edit_address_def.EditAddress())), //  EditAddress()),
    GetPage(
        name: coinDetail,
        page: () => FutureBuilder(
            future: marketing_coinDetail_def.loadLibrary(),
            builder: (snapshot, context) =>
                marketing_coinDetail_def.CoinDetail())), //  CoinDetail()),
    GetPage(
        name: activityRule,
        page: () => FutureBuilder(
            future: marketing_activity_rule_def.loadLibrary(),
            builder: (snapshot, context) => marketing_activity_rule_def
                .ActivityRule())), //   ActivityRule()),
    GetPage(
        name: consumeGift,
        page: () => FutureBuilder(
            future: marketing_consume_gift_def.loadLibrary(),
            builder: (snapshot, context) =>
                marketing_consume_gift_def.ConsumeGift())), //   ConsumeGift()),
    GetPage(
        name: commentSuccess,
        page: () => FutureBuilder(
            future: marketing_comment_success_def.loadLibrary(),
            builder: (snapshot, context) => marketing_comment_success_def
                .CommentSuccess())), //   CommentSuccess()),
    GetPage(
        name: myShare,
        page: () => FutureBuilder(
            future: marketing_my_share_def.loadLibrary(),
            builder: (snapshot, context) =>
                marketing_my_share_def.MyShare())), //  MyShare()),
    GetPage(
        name: shareGift,
        page: () => FutureBuilder(
            future: marketing_share_gift_def.loadLibrary(),
            builder: (snapshot, context) =>
                marketing_share_gift_def.ShareGift())), //  ShareGift()),
    GetPage(
        name: helpLottery,
        page: () => FutureBuilder(
            future: marketing_help_lottery_def.loadLibrary(),
            builder: (snapshot, context) =>
                marketing_help_lottery_def.HelpLottery())), //   HelpLottery()),
    GetPage(
        name: bigTurntable,
        page: () => FutureBuilder(
            future: marketing_big_turntable_def.loadLibrary(),
            builder: (snapshot, context) => marketing_big_turntable_def
                .BigTurntable())), //  BigTurntable()),
    GetPage(
        name: roundAbout,
        page: () => FutureBuilder(
            future: marketing_rounda_bout_def.loadLibrary(),
            builder: (snapshot, context) =>
                marketing_rounda_bout_def.RoundAbout())), //  RoundAbout()),
    GetPage(
        name: salesRankings,
        page: () => FutureBuilder(
            future: marketing_sales_rankings_def.loadLibrary(),
            builder: (snapshot, context) => marketing_sales_rankings_def
                .SalesRankings())), //  SalesRankings()),
    GetPage(
        name: integralMall,
        page: () => FutureBuilder(
            future: marketing_integral_mall_def.loadLibrary(),
            builder: (snapshot, context) => marketing_integral_mall_def
                .IntegralMall())), //   IntegralMall()),
    GetPage(name: randomAmount, page: () => RandomAmount()), //分享链接，不可延迟加载
    GetPage(
        name: vipTask,
        page: () => FutureBuilder(
            future: marketing_vip_task_def.loadLibrary(),
            builder: (snapshot, context) =>
                marketing_vip_task_def.VipTask())), //  VipTask()),
    GetPage(
        name: collectCoupons,
        page: () => FutureBuilder(
            future: marketing_collect_coupons_def.loadLibrary(),
            builder: (snapshot, context) => marketing_collect_coupons_def
                .CollectCoupons())), //   CollectCoupons()),//分享链接，不可延迟加载
    GetPage(
        name: seckillHome,
        page: () => FutureBuilder(
            future: sec_kill_view_def.loadLibrary(),
            builder: (snapshot, context) => sec_kill_view_def.SeckillHome())),

    //分享链接，不可延迟加载
    GetPage(
        name: collectCouponsCenter,
        page: () => FutureBuilder(
            future: marketing_collect_coupons_center_def.loadLibrary(),
            builder: (snapshot, context) => marketing_collect_coupons_center_def
                .CollectCouponsCenter())), //   CollectCouponsCenter()),
    GetPage(
        name: inviteFriend,
        page: () => FutureBuilder(
            future: marketing_invite_friend_def.loadLibrary(),
            builder: (snapshot, context) => marketing_invite_friend_def
                .InviteFriend())), //   InviteFriend()),
    GetPage(name: joinGroup, page: () => JoinGroup()), //分享链接，不可延迟加载
    GetPage(name: collage, page: () => CollagePage()), //分享链接，不可延迟加载
    GetPage(
        name: applyExpert,
        page: () => FutureBuilder(
            future: koc_apply_expert_def.loadLibrary(),
            builder: (snapshot, context) =>
                koc_apply_expert_def.ApplyExpert())), //  ApplyExpert()),
    GetPage(
        name: expertUnderReview,
        page: () => FutureBuilder(
            future: koc_expert_under_review_def.loadLibrary(),
            builder: (snapshot, context) => koc_expert_under_review_def
                .ExpertUnderReview())), //  ExpertUnderReview()),
    GetPage(
        name: applyExpertSuccess,
        page: () => FutureBuilder(
            future: koc_apply_expert_success_def.loadLibrary(),
            builder: (snapshot, context) => koc_apply_expert_success_def
                .ApplyExpertSuccess())), //   ApplyExpertSuccess()),
    GetPage(
        name: GroupDetailPage,
        page: () => FutureBuilder(
            future: group_detail_group_detail_view_def.loadLibrary(),
            builder: (snapshot, context) => group_detail_group_detail_view_def
                .Group_detailPage())), //   Group_detailPage()),

    ///物流
    // GetPage(name: logistics, page: () => LogisticsTracking()), it's reduplicate
    GetPage(
        name: applyDetail,
        page: () => FutureBuilder(
            future: apply_detail_view_def.loadLibrary(),
            builder: (snapshot, context) => apply_detail_view_def
                .ApplyDetailPage())), //  ApplyDetailPage()),

    ///订单详情
    GetPage(
        name: orderDetial,
        page: () => FutureBuilder(
            future: order_detial_view_def.loadLibrary(),
            builder: (snapshot, context) => order_detial_view_def
                .OrderDetialPage())), //   OrderDetialPage()),
    GetPage(
        name: orderDeposit,
        page: () => FutureBuilder(
            future: order_deposit_view_def.loadLibrary(),
            builder: (snapshot, context) => order_deposit_view_def
                .OrderDepositPage())), //  OrderDepositPage()),

    /// 代客下单付款码
    GetPage(
        name: orderPayment,
        page: () => FutureBuilder(
            future: order_payment_view_def.loadLibrary(),
            builder: (snapshot, context) => order_payment_view_def
                .OrderPaymentPage())), //  OrderPaymentPage()),
    GetPage(
        name: aftersaleApply,
        page: () => FutureBuilder(
            future: aftersale_apply_view_def.loadLibrary(),
            builder: (snapshot, context) => aftersale_apply_view_def
                .AftersaleApplyPage())), //  AftersaleApplyPage()),
    GetPage(
        name: applySuccess,
        page: () => FutureBuilder(
            future: apply_success_view_def.loadLibrary(),
            builder: (snapshot, context) => apply_success_view_def
                .ApplySuccessPage())), //  ApplySuccessPage()),
    GetPage(
        name: searchMember,
        page: () => FutureBuilder(
            future: search_member_view_def.loadLibrary(),
            builder: (snapshot, context) => search_member_view_def
                .SearchMemberPage())), //   SearchMemberPage()),
    GetPage(
        name: userCreate,
        page: () => FutureBuilder(
            future: user_create_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                user_create_view_def.UserCreatePage())), //   UserCreatePage()),

    ///修改地址
    GetPage(
        name: addressUpdate,
        page: () => FutureBuilder(
            future: address_update_view_def.loadLibrary(),
            builder: (snapshot, context) => address_update_view_def
                .AddressUpdatePage())), //  AddressUpdatePage()),
    GetPage(
        name: about,
        page: () => FutureBuilder(
            future: about_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                about_view_def.AboutPage())), //   AboutPage()),

    // GetPage(name: mainApp, page: () => MainAppPage()),
    GetPage(
        name: addInvoiceHead,
        page: () => FutureBuilder(
            future: add_invoice_head_view_def.loadLibrary(),
            builder: (snapshot, context) => add_invoice_head_view_def
                .AddInvoiceHeadPage())), //  AddInvoiceHeadPage()),
    GetPage(
        name: evaluateProduct,
        page: () => FutureBuilder(
            future: evaluate_product_view_def.loadLibrary(),
            builder: (snapshot, context) => evaluate_product_view_def
                .EvaluateProductPage())), //   EvaluateProductPage()),
    GetPage(
        name: allEvaluation,
        page: () => FutureBuilder(
            future: all_evaluation_view_def.loadLibrary(),
            builder: (snapshot, context) => all_evaluation_view_def
                .AllEvaluationPage())), //  AllEvaluationPage()),
    GetPage(
        name: danGeChuPing,
        page: () => FutureBuilder(
            future: dan_ge_chu_ping_view_def.loadLibrary(),
            builder: (snapshot, context) => dan_ge_chu_ping_view_def
                .DanGeChuPingPage())), //  DanGeChuPingPage()),
    GetPage(
        name: evaluationSuccess,
        page: () => FutureBuilder(
            future: evaluation_success_view_def.loadLibrary(),
            builder: (snapshot, context) => evaluation_success_view_def
                .EvaluationSuccessPage())), //   EvaluationSuccessPage()),
    GetPage(
        name: viewComments,
        page: () => FutureBuilder(
            future: view_comments_view_def.loadLibrary(),
            builder: (snapshot, context) => view_comments_view_def
                .ViewCommentsPage())), //  ViewCommentsPage()),
    GetPage(
        name: pingJiaShaiDan,
        page: () => FutureBuilder(
            future: ping_jia_shai_dan_view_def.loadLibrary(),
            builder: (snapshot, context) => ping_jia_shai_dan_view_def
                .PingJiaShaiDanPage())), //  PingJiaShaiDanPage()),
    GetPage(
        name: pingJiaShaiDanDetails,
        page: () => FutureBuilder(
            future: ping_jia_shai_dan_details_view_def.loadLibrary(),
            builder: (snapshot, context) => ping_jia_shai_dan_details_view_def
                .PingJiaShaiDanDetailsPage())), //  PingJiaShaiDanDetailsPage()),
    // GetPage(
    //     name: mallLogin,
    //     page: () => FutureBuilder(
    //         future: mall_login_view_def.loadLibrary(),
    //         builder: (snapshot, context) =>
    //             mall_login_view_def.MallLoginPage())), //  MallLoginPage()),

    GetPage(name: mallLogin, page: () => MallLoginPage()), //

    GetPage(
        name: webview,
        page: () => FutureBuilder(
            future: webview_webview_page_def.loadLibrary(),
            builder: (snapshot, context) =>
                webview_webview_page_def.WebViewPage())), //  WebViewPage()),
    GetPage(
        name: applykoc,
        page: () => FutureBuilder(
            future: apply_koc_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                apply_koc_view_def.ApplyKocPage())), //  ApplyKocPage()),
    GetPage(
        name: allOrders,
        page: () => FutureBuilder(
            future: all_orders_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                all_orders_view_def.AllOrdersPage())), //  AllOrdersPage()),
    GetPage(
        name: applykocResult,
        page: () => FutureBuilder(
            future: apply_koc_result_view_def.loadLibrary(),
            builder: (snapshot, context) => apply_koc_result_view_def
                .ApplyKocResultPage())), //  ApplyKocResultPage()),
    GetPage(
        name: bindWelfareCard,
        page: () => FutureBuilder(
            future: bind_welfare_card_view_def.loadLibrary(),
            builder: (snapshot, context) => bind_welfare_card_view_def
                .BindWelfareCardPage())), //   BindWelfareCardPage()),
    GetPage(
        name: businessHallDetails,
        page: () => FutureBuilder(
            future: business_hall_details_view_def.loadLibrary(),
            builder: (snapshot, context) => business_hall_details_view_def
                .BusinessHallDetailsPage())), //   BusinessHallDetailsPage()),
    GetPage(
        name: classification,
        page: () => FutureBuilder(
            future: classification_view_def.loadLibrary(),
            builder: (snapshot, context) => classification_view_def
                .ClassificationPage())), //  ClassificationPage()),
    GetPage(
        name: commoditySearch,
        page: () => FutureBuilder(
            future: commodity_search_view_def.loadLibrary(),
            builder: (snapshot, context) => commodity_search_view_def
                .CommoditySearchPage())), //  CommoditySearchPage()),
    GetPage(
        name: commoditySearchList,
        page: () => FutureBuilder(
            future: commodity_search_list_view_def.loadLibrary(),
            builder: (snapshot, context) => commodity_search_list_view_def
                .CommoditySearchListPage())), //   CommoditySearchListPage()),
    GetPage(name: goodsDetail, page: () => GoodsDetailPage()), //分享链接，不可延迟加载
    GetPage(
        name: materialCreate,
        page: () => FutureBuilder(
            future: material_create_view_def.loadLibrary(),
            builder: (snapshot, context) => material_create_view_def
                .MaterialCreatePage())), //  MaterialCreatePage()),
    GetPage(
        name: collectCouponsCentre,
        page: () => FutureBuilder(
            future: collect_coupons_centre_view_def.loadLibrary(),
            builder: (snapshot, context) => collect_coupons_centre_view_def
                .CollectCouponsCentrePage())), //  CollectCouponsCentrePage()),
    GetPage(
        name: commodityDetails,
        page: () => FutureBuilder(
            future: commodity_details_view_def.loadLibrary(),
            builder: (snapshot, context) => commodity_details_view_def
                .CommodityDetailsPage())), //  CommodityDetailsPage()),
    GetPage(
        name: commodityKeywordSearch,
        page: () => FutureBuilder(
            future: commodity_keyword_search_view_def.loadLibrary(),
            builder: (snapshot, context) => commodity_keyword_search_view_def
                .CommodityKeywordSearchPage())), //  CommodityKeywordSearchPage()),
    GetPage(
        name: couponGoodsList,
        page: () => FutureBuilder(
            future: coupon_goods_list_view_def.loadLibrary(),
            builder: (snapshot, context) => coupon_goods_list_view_def
                .CouponGoodsListPage())), //  CouponGoodsListPage()),
    GetPage(
        name: decorationActivities,
        page: () => FutureBuilder(
            future: decoration_activities_view_def.loadLibrary(),
            builder: (snapshot, context) => decoration_activities_view_def
                .DecorationActivitiesPage())), //  DecorationActivitiesPage()),
    GetPage(
        name: feedbackHistory,
        page: () => FutureBuilder(
            future: feedback_history_view_def.loadLibrary(),
            builder: (snapshot, context) => feedback_history_view_def
                .FeedbackHistoryPage())), //  FeedbackHistoryPage()),
    GetPage(
        name: followUpEvaluation,
        page: () => FutureBuilder(
            future: follow_up_evaluation_view_def.loadLibrary(),
            builder: (snapshot, context) => follow_up_evaluation_view_def
                .FollowUpEvaluationPage())), //   FollowUpEvaluationPage()),
    GetPage(
        name: getPointsMethod,
        page: () => FutureBuilder(
            future: get_points_method_view_def.loadLibrary(),
            builder: (snapshot, context) => get_points_method_view_def
                .GetPointsMethodPage())), // GetPointsMethodPage()),
    GetPage(
        name: giftCard,
        page: () => FutureBuilder(
            future: gift_card_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                gift_card_view_def.GiftCardPage())), //  GiftCardPage()),
    GetPage(
        name: giftCardBinding,
        page: () => FutureBuilder(
            future: gift_card_binding_view_def.loadLibrary(),
            builder: (snapshot, context) => gift_card_binding_view_def
                .GiftCardBindingPage())), //  GiftCardBindingPage()),
    GetPage(
        name: giftCardConsumptionRecord,
        page: () => FutureBuilder(
            future: gift_card_consumption_record_view_def.loadLibrary(),
            builder: (snapshot, context) => gift_card_consumption_record_view_def
                .GiftCardConsumptionRecordPage())), //  GiftCardConsumptionRecordPage()),
    GetPage(
        name: goodsCommentList,
        page: () => FutureBuilder(
            future: goods_comment_view_def.loadLibrary(),
            builder: (snapshot, context) => goods_comment_view_def
                .GoodsCommentListPage())), //   GoodsCommentListPage()),
    GetPage(
        name: orderSettlements,
        page: () => FutureBuilder(
            future: order_settlements_view_def.loadLibrary(),
            builder: (snapshot, context) => order_settlements_view_def
                .OrderSettlementPages())), //   OrderSettlementPages()),
    GetPage(
        name: orderComplete,
        page: () => FutureBuilder(
            future: order_complete_view_def.loadLibrary(),
            builder: (snapshot, context) => order_complete_view_def
                .OrderCompletePage())), //  OrderCompletePage()),
    // GetPage(name: orderList, page: () => OrderListPage()),
    GetPage(
        name: orderModifyAddress,
        page: () => FutureBuilder(
            future: order_modify_address_view_def.loadLibrary(),
            builder: (snapshot, context) => order_modify_address_view_def
                .OrderModifyAddressPage())), //   OrderModifyAddressPage()),
    GetPage(
        name: invoiceDetails,
        page: () => FutureBuilder(
            future: invoice_details_view_def.loadLibrary(),
            builder: (snapshot, context) => invoice_details_view_def
                .InvoiceDetailsPage())), //   InvoiceDetailsPage()),
    GetPage(
        name: invoiceHeaderManagement,
        page: () => FutureBuilder(
            future: invoice_header_management_view_def.loadLibrary(),
            builder: (snapshot, context) => invoice_header_management_view_def
                .InvoiceHeaderManagementPage())), //   InvoiceHeaderManagementPage()),
    GetPage(
        name: issueInvoice,
        page: () => FutureBuilder(
            future: issue_invoice_view_def.loadLibrary(),
            builder: (snapshot, context) => issue_invoice_view_def
                .IssueInvoicePage())), //   IssueInvoicePage()),
    GetPage(
        name: addressCreate,
        page: () => FutureBuilder(
            future: address_create_view_def.loadLibrary(),
            builder: (snapshot, context) => address_create_view_def
                .AddressCreatePage())), //  AddressCreatePage()),
    GetPage(
        name: selectInvoiceHead,
        page: () => FutureBuilder(
            future: select_invoice_head_view_def.loadLibrary(),
            builder: (snapshot, context) => select_invoice_head_view_def
                .SelectInvoiceHeadPage())), //   SelectInvoiceHeadPage()),
    GetPage(
        name: selectShippingAddress,
        page: () => FutureBuilder(
            future: select_shipping_address_view_def.loadLibrary(),
            builder: (snapshot, context) => select_shipping_address_view_def
                .SelectShippingAddressPage())), //   SelectShippingAddressPage()),
    GetPage(
        name: mallVerificationCodeLogin,
        page: () => FutureBuilder(
            future: mall_verification_code_login_view_def.loadLibrary(),
            builder: (snapshot, context) => mall_verification_code_login_view_def
                .MallVerificationCodeLoginPage())), //   MallVerificationCodeLoginPage()),
    GetPage(
        name: resetPassword,
        page: () => FutureBuilder(
            future: reset_password_view_def.loadLibrary(),
            builder: (snapshot, context) => reset_password_view_def
                .ResetPasswordPage())), //   ResetPasswordPage()),
    GetPage(
        name: memberInformation,
        page: () => FutureBuilder(
            future: member_information_view_def.loadLibrary(),
            builder: (snapshot, context) => member_information_view_def
                .MemberInformationPage())), //   MemberInformationPage()),
    GetPage(
        name: membershipInterests,
        page: () => FutureBuilder(
            future: membership_interests_view_def.loadLibrary(),
            builder: (snapshot, context) => membership_interests_view_def
                .MembershipInterestsPage())), // MembershipInterestsPage()),
    GetPage(
        name: membershipCardHomePage,
        page: () => FutureBuilder(
            future: membership_card_home_page_view_def.loadLibrary(),
            builder: (snapshot, context) => membership_card_home_page_view_def
                .MembershipCardHomePage())), //   MembershipCardHomePage()),
    GetPage(
        name: myGas,
        page: () => FutureBuilder(
            future: my_gas_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                my_gas_view_def.MyGasPage())), //   MyGasPage()),
    GetPage(
        name: myCoupon,
        page: () => FutureBuilder(
            future: my_coupon_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                my_coupon_view_def.MyCouponPage())), //   MyCouponPage()),
    GetPage(
        name: myPoints,
        page: () => FutureBuilder(
            future: my_points_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                my_points_view_def.MyPointsPage())), //   MyPointsPage()),
    GetPage(
        name: myWallet,
        page: () => FutureBuilder(
            future: my_wallet_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                my_wallet_view_def.MyWalletPage())), //   MyWalletPage()),
    GetPage(
        name: myWallerUseHelp,
        page: () => FutureBuilder(
            future: my_wallet_use_help_my_wallet_use_help_def.loadLibrary(),
            builder: (snapshot, context) =>
                my_wallet_use_help_my_wallet_use_help_def
                    .MyWalletUseHelp())), //   MyWalletUseHelp()),
    GetPage(
        name: setUp,
        page: () => FutureBuilder(
            future: set_up_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                set_up_view_def.SetUpPage())), //  SetUpPage()),
    GetPage(
        name: signIn,
        page: () => FutureBuilder(
            future: sign_in_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                sign_in_view_def.SignInPage())), //  SignInPage()),
    GetPage(
        name: opinionFeedback,
        page: () => FutureBuilder(
            future: opinion_feedback_view_def.loadLibrary(),
            builder: (snapshot, context) => opinion_feedback_view_def
                .OpinionFeedbackPage())), //  OpinionFeedbackPage()),
    GetPage(
        name: opinionFeedbackDetails,
        page: () => FutureBuilder(
            future: opinion_feedback_details_view_def.loadLibrary(),
            builder: (snapshot, context) => opinion_feedback_details_view_def
                .OpinionFeedbackDetailsPage())), //   OpinionFeedbackDetailsPage()),
    GetPage(
        name: myTrafficUsers,
        page: () => FutureBuilder(
            future: my_traffic_users_view_def.loadLibrary(),
            builder: (snapshot, context) => my_traffic_users_view_def
                .MyTrafficUsersPage())), //   MyTrafficUsersPage()),
    GetPage(
        name: myReward,
        page: () => FutureBuilder(
            future: my_reward_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                my_reward_view_def.MyRewardPage())), //   MyRewardPage()),
    GetPage(
        name: myWelfareCardList,
        page: () => FutureBuilder(
            future: my_welfare_card_list_view_def.loadLibrary(),
            builder: (snapshot, context) => my_welfare_card_list_view_def
                .MyWelfareCardListPage())), //  MyWelfareCardListPage()),
    GetPage(
        name: nearbyBusinessHall,
        page: () => FutureBuilder(
            future: nearby_business_hall_view_def.loadLibrary(),
            builder: (snapshot, context) => nearby_business_hall_view_def
                .NearbyBusinessHallPage())), //   NearbyBusinessHallPage()),
    GetPage(
        name: preSaleOrder,
        page: () => FutureBuilder(
            future: pre_sale_order_pre_sale_view_def.loadLibrary(),
            builder: (snapshot, context) => pre_sale_order_pre_sale_view_def
                .PreSalePage())), //   PreSalePage()),
    GetPage(
      name: drawBillPage,
      page: () => FutureBuilder(
          future: draw_bill_view_def.loadLibrary(),
          builder: (snapshot, context) =>
              draw_bill_view_def.DrawBillPage()), //)  DrawBillPage(),
      binding: BindingsBuilder(
        () => {Get.lazyPut<DrawBillController>(() => DrawBillController())},
      ),
    ),
    GetPage(
        name: drawBillPageDetail,
        page: () => FutureBuilder(
            future: draw_bill_detail_view_def.loadLibrary(),
            builder: (snapshot, context) => draw_bill_detail_view_def
                .DrawBillDetailPage())), //   DrawBillDetailPage()),
    GetPage(
      name: myCollectPage,
      page: () => FutureBuilder(
          future: my_collect_view_def.loadLibrary(),
          builder: (snapshot, context) =>
              my_collect_view_def.MyCollectPage()), // )  MyCollectPage(),
      binding: BindingsBuilder(
        () => {Get.lazyPut<MyCollectController>(() => MyCollectController())},
      ),
    ),
    GetPage(
      name: mySubscriptionPage,
      page: () => FutureBuilder(
          future: my_subscription_view_def.loadLibrary(),
          builder: (snapshot, context) => my_subscription_view_def
              .MySubscriptionPage()), //)   MySubscriptionPage(),
      binding: BindingsBuilder(
        () => {
          Get.lazyPut<MySubscriptionController>(
              () => MySubscriptionController())
        },
      ),
    ),
    GetPage(name: discover, page: () => Discover()), //分享链接，不可延迟加载
    GetPage(
        name: eventDetail,
        page: () => FutureBuilder(
            future: discover_event_detail_def.loadLibrary(),
            builder: (snapshot, context) =>
                discover_event_detail_def.EventDetail())),
    GetPage(
        name: helpPage,
        page: () => FutureBuilder(
            future: help_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                help_view_def.HelpPage())), //   HelpPage()),
    GetPage(
        name: helpDetail,
        page: () => FutureBuilder(
            future: help_detail_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                help_detail_view_def.HelpDetailPage())), //HelpDetailPage()),
    GetPage(
        name: accountSafe,
        page: () => FutureBuilder(
            future: account_safe_view_def.loadLibrary(),
            builder: (snapshot, context) => account_safe_view_def
                .AccountSafePage())), //   AccountSafePage()),
    // GetPage(name: localLife, page: () =>FutureBuilder(future:local_life_view_def .loadLibrary() , builder:(snapshot, context)=>local_life_view_def. LocalLifePage() ) ), //   LocalLifePage()),
    GetPage(
        name: localLife, page: () => LocalLifePage()), //   LocalLifePage()),
    GetPage(
        name: modifyPhone,
        page: () => FutureBuilder(
            future: account_safe_phone_page_def.loadLibrary(),
            builder: (snapshot, context) => account_safe_phone_page_def
                .ModifyPhonePage())), //   ModifyPhonePage()),
    GetPage(
        name: verifyPhone,
        page: () => FutureBuilder(
            future: account_safe_modify_phone_dart_page_def.loadLibrary(),
            builder: (snapshot, context) =>
                account_safe_modify_phone_dart_page_def
                    .VerifyPhonePage())), //     VerifyPhonePage()),
    GetPage(
        name: modifyPayPwd,
        page: () => FutureBuilder(
            future: account_safe_pay_pwd_dart_page_def.loadLibrary(),
            builder: (snapshot, context) => account_safe_pay_pwd_dart_page_def
                .ModifyPayPwdPage())), //   ModifyPayPwdPage()),
    GetPage(
        name: modifyPhoneSure,
        page: () => FutureBuilder(
            future: account_safe_modify_phone_sure_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                account_safe_modify_phone_sure_view_def
                    .ModifyPhonseSurePage())), //   ModifyPhonseSurePage()),
    GetPage(
        name: modifyPhoneSuccess,
        page: () => FutureBuilder(
            future: account_safe_modfiy_phone_success_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                account_safe_modfiy_phone_success_view_def
                    .ModifyPhonseSuccessPage())), // ModifyPhonseSuccessPage()),
    GetPage(
        name: setPayPwd,
        page: () => FutureBuilder(
            future: set_pay_pwd_page_def.loadLibrary(),
            builder: (snapshot, context) =>
                set_pay_pwd_page_def.SetPayPwdPage())), //   SetPayPwdPage()),
    GetPage(
        name: goExchange,
        page: () => FutureBuilder(
            future: go_exchange_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                go_exchange_view_def.GoExchange())), //GoExchange()),
    GetPage(
        name: goCollect,
        page: () => FutureBuilder(
            future: go_collect_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                go_collect_view_def.GoCollect())), // GoCollect()),
    GetPage(
        name: turntable,
        page: () => FutureBuilder(
            future: turntable_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                turntable_view_def.TurntablePage())), //  TurntablePage()),
    GetPage(
        name: turntableAward,
        page: () => FutureBuilder(
            future: turntable_aword_view_def.loadLibrary(),
            builder: (snapshot, context) => turntable_aword_view_def
                .TurntableAwardPage())), //  TurntableAwardPage()),
    GetPage(
        name: orderGoodlist,
        page: () => FutureBuilder(
            future: order_goodlist_view_def.loadLibrary(),
            builder: (snapshot, context) => order_goodlist_view_def
                .OrderGoodlistPage())), //   OrderGoodlistPage()),
    GetPage(
        name: hallMap,
        page: () => FutureBuilder(
            future: hall_map_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                hall_map_view_def.HallMapPage())), //   HallMapPage()),
    GetPage(name: preSaleActive, page: () => PreSaleActivePage()), //分享链接，不可延迟加载
    // GetPage(name: userBind, page: () =>FutureBuilder(future: user_bind_view_def.loadLibrary() , builder:(snapshot, context)=>user_bind_view_def.UserBindPage() ) ), //   UserBindPage()),
    GetPage(name: userBind, page: () => UserBindPage()), //   UserBindPage()),
    GetPage(
        name: accountInvalid1,
        page: () => FutureBuilder(
            future: account_invalid_1_view_def.loadLibrary(),
            builder: (snapshot, context) => account_invalid_1_view_def
                .AccountInvalid1Page())), //  AccountInvalid1Page()),
    GetPage(
        name: accountInvalid2,
        page: () => FutureBuilder(
            future: account_invalid_2_view_def.loadLibrary(),
            builder: (snapshot, context) => account_invalid_2_view_def
                .AccountInvalid2Page())), //   AccountInvalid2Page()),
    GetPage(
        name: surplusMarketPage,
        page: () => FutureBuilder(
            future: surplus_market_view_def.loadLibrary(),
            builder: (snapshot, context) => surplus_market_view_def
                .SurplusMarketPage())), //   SurplusMarketPage()),
    GetPage(
        name: surplusMarketDetails,
        page: () => FutureBuilder(
            future: sm_details_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                sm_details_view_def.SMDetailsPage())), //  SMDetailsPage()),
    GetPage(
        name: jietijia,
        page: () => FutureBuilder(
            future: sm_details_jietijia_def.loadLibrary(),
            builder: (snapshot, context) =>
                sm_details_jietijia_def.jietijia())), //  jietijia()),
    GetPage(
        name: fontMoneySalePage,
        page: () => FutureBuilder(
            future: font_money_sale_view_def.loadLibrary(),
            builder: (snapshot, context) => font_money_sale_view_def
                .FontMoneySalePage())), //   FontMoneySalePage()),
    GetPage(
        name: fontMoneySaleDetail,
        page: () => FutureBuilder(
            future: font_sale_detail_view_def.loadLibrary(),
            builder: (snapshot, context) => font_sale_detail_view_def
                .FontSaleDetailPage())), //   FontSaleDetailPage()),
    GetPage(
        name: preSaleActiveOrder,
        page: () => FutureBuilder(
            future: pre_sale_order_view_def.loadLibrary(),
            builder: (snapshot, context) => pre_sale_order_view_def
                .PreSaleOrderPage())), //   PreSaleOrderPage()),
    GetPage(
        name: frontSaleOrder,
        page: () => FutureBuilder(
            future: font_sale_order_view_def.loadLibrary(),
            builder: (snapshot, context) => font_sale_order_view_def
                .FontSaleOrderPage())), //   FontSaleOrderPage()),
    GetPage(
        name: sMSettlementPage,
        page: () => FutureBuilder(
            future: surplus_buy_view_def.loadLibrary(),
            builder: (snapshot, context) => surplus_buy_view_def
                .SMSettlementPage())), //   SMSettlementPage()),
    GetPage(
        name: endSaleOrder,
        page: () => FutureBuilder(
            future: font_end_order_view_def.loadLibrary(),
            builder: (snapshot, context) => font_end_order_view_def
                .EndSaleOrderPage())), //   EndSaleOrderPage()),
    GetPage(
        name: agreement,
        page: () {
          return FutureBuilder(
              future: agreementview_def.loadLibrary(),
              builder: (snapshot, context) {
                return agreementview_def.AgreementPage();
              });
        }),
    GetPage(
        name: gongdan,
        page: () => FutureBuilder(
            future: gongdan_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                gongdan_view_def.GongDanPage())), //   GongDanPage()),
    GetPage(
        name: gongdans,
        page: () => FutureBuilder(
            future: gongdans_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                gongdans_view_def.GongDansPage())), //   GongDansPage()),
    GetPage(
        name: shopSearch,
        page: () => FutureBuilder(
            future: shop_search_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                shop_search_view_def.ShopSearchPage())), //   ShopSearchPage()),
    GetPage(name: splash, page: () => SplashPage()), //   UserBindPage()),
    GetPage(name: myInvite, page: () => MyInvitePage()), //   UserBindPage()),

    GetPage(
        name: inviteKocPage,
        page: () => FutureBuilder(
            future: invite_koc_view_def.loadLibrary(),
            builder: (snapshot, context) =>
                invite_koc_view_def.InviteKocPage())),

    /*=================原慧生活APP==============*/
    /*GetPage(name: CGRouteSetting.home_query_userInfo, page: ()  => CGQueryUserInfoPage()),
    GetPage(name: CGRouteSetting.about_gas_account_manager, page: ()  => CGGasAccountManagerPage()),
    GetPage(name: CGRouteSetting.about_add_gas_account, page: ()  => CGAddGasAccountPage()),
    GetPage(name: CGRouteSetting.home_query_gas_order, page: ({arguments}) => CGQueryGasOrderPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_gas_account_list, page: ()  => CGUserGasAccountListPage()),
    GetPage(name: CGRouteSetting.about_bind_default_gas_account, page: ()  => CGBindDefaultGasAccountPage()),
    GetPage(name: CGRouteSetting.get_help_info , page: ({arguments}) => CGHelpInfoPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.help_rich_page , page: ({arguments}) => CGHelpRichPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.help_nfc_strategy_page , page: ({arguments}) => CGNFCStrategyPage()),
    GetPage(name: CGRouteSetting.get_bluetooth_machine_method , page: ({arguments}) => CGGetBluetoothMachineMethod()),
    GetPage(name: CGRouteSetting.common_er_code_scanner , page: ({arguments}) => CGQRCodeScanner()),
    // GetPage(name: CGRouteSetting.about_coupons_list , page: ({arguments}) => CGAboutCouponsListPage()),
    GetPage(name: CGRouteSetting.set_balance_remind_page , page: ({arguments}) => CGSetBalanceRemindPage(arguments: arguments,)),
    // CGRouteSetting.users_quick_pass_login , page: ({arguments}) => CGQuickPassLoginPage()),

    GetPage(name: CGRouteSetting.app_webView , page: ({arguments}) => CGWebViewPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_gasUser_info , page: ({arguments}) => CGGasUserInfoPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_gasUser_confirmPay , page: ({arguments}) => CGConfirmPayPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_gasUser_connectBluetooth , page: ({arguments}) => CGConnectBluetoothPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_recharge_pay_input_money , page: ({arguments}) => CGPayInputMoneyPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_pay_history_list , page: ({arguments}) => CGPayOrderListPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_pay_list_detail , page: ({arguments}) => CGOrderDetailPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_gas_price_detail, page: ({arguments}) => CGGasPriceDetailPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_moreMeter_select_cardNo, page: ({arguments}) => CGSelectCardNOPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_gasFee_bill_list, page: ({arguments}) => CGGasFeeBillListPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_sel_recharge_type, page: ({arguments}) => CGSelectRechargeTypePage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_gasUser_recharge_success, page: ({arguments}) => CGRechargeSuccessPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_iot_task_list, page: ({arguments}) => CGIOTTaskListPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.about_bind_default_gas_account_list, page: ({arguments}) => CGBindDefaultAccountListPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_nfc_recharge_success, page: ({arguments}) => CGNfcRechargeSuccessPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.about_gas_account_detail, page: ({arguments}) => CGGasAccountDetail(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_recharge_award, page: ({arguments}) => CGRechargeAwardPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_recharge_phone, page: ({arguments}) => CGPhoneRechargePage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_phone_payment, page: ({arguments}) => CGPhonePaymentPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_withhold_page, page: ({arguments}) => CGBillWithholdPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_payfee_page, page: ({arguments}) => CGGasPayfeePage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_auto_report_page, page: ({arguments}) => CGAutoReportPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.home_report_result_page, page: ({arguments}) => CGReportResultPage(arguments: arguments)),

    GetPage(name: CGRouteSetting.heat_account_query, page: ({arguments}) => CGQueryHeatAccountPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.heat_payment_detail, page: ({arguments}) => CGHeatPaymentDetailPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.heat_pay_confirm, page: ({arguments}) => CGHeatPayConfirmPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.pay_result_page, page: ({arguments}) => CGPayResultPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.heat_bill_page, page: ({arguments}) => CGHeatBillPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.heat_install_page, page: ({arguments}) => CGHeatInstallPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.heat_install_result_page, page: ({arguments}) => CGHeatInstallResultPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.heat_bind_account_page, page: ({arguments}) => CGHeatAccountList()),
    GetPage(name: CGRouteSetting.heat_add_bind_page, page: ({arguments}) => CGHeatAddBindAccount(arguments: arguments)),
    GetPage(name: CGRouteSetting.heat_home_page, page: ({arguments}) => CGHeatHomePage()),
    GetPage(name: CGRouteSetting.about_service_list_page , page: ({arguments}) => CGServiceListPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.about_service_page , page: ({arguments}) => CGServicePage(arguments: arguments)),
    GetPage(name: CGRouteSetting.about_qualification_qr_page , page: ({arguments}) => CGQrQualificationPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.about_gas_contract_page , page: ({arguments}) => CGGasContractPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.cg_qualification_list_page , page: ({arguments}) => CGQualificationListPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.cg_qualification_info_page , page: ({arguments}) => CGQualificationInfoPage(arguments: arguments)),
    GetPage(name: CGRouteSetting.about_pdf_page , page: ({arguments}) => CGPDFPage(arguments: arguments)),*/
    /*=================原慧生活APP==============*/
  ];

  /// 初始化路由
  static final String initialRoute =
      SpUtil.getBool("isAgree", defValue: false) || kIsWeb ? main : splash;
}

class HomeRouter {
  // ignore: missing_return
  static Route<dynamic> generateRoute(RouteSettings settings) {
    for (GetPage page in RouteConfig.getPages) {
      if (settings.name == page.name) {
        final Function pageContentBuilder = page.page;
        if (pageContentBuilder != null) {
          if (settings.arguments != null) {
            final Route route = MaterialPageRoute(
                builder: (context) =>
                    pageContentBuilder(context, arguments: settings.arguments),
                settings: RouteSettings(name: page.name));

            return route;
          } else {
            final Route route = MaterialPageRoute(
                builder: (context) => pageContentBuilder(context),
                settings: RouteSettings(name: page.name));
            return route;
          }
        }
      }
    }
  }
}
